﻿namespace NoIdeaIoc;

/// <summary>
/// 替换IServiceScopeFactory
/// </summary>
public class DefaultServiceScopeFactory : IServiceScopeFactory
{
    /// <summary>
    /// 创建IServiceScope
    /// </summary>
    /// <returns></returns>
    public IServiceScope CreateScope()
    {
        return new LifeTime();
    }
}
